#include<stdio.h>

//查找有不及格的行
float *serach(float (*p)[4])
{
	float *s=*(p+1);//获取下一行的首地址
	int i;
	for(i=0;i<4;i++)
	{
		if(*(*p+i)<60)
		{
			s=*p;//指向本行的首地址
		}
	}
	return s;
}


int main()
{
	float score[][4]={{60,75,82,91},{75,81,91,90},{51,65,78,84},{65,72,78,72}};
	float *p;	
	int i,j;
	for(i=0;i<4;i++)
	{
		p=serach(score+i);
		if(p==*(score+i))
		{
			printf("The student is NO.%d\n",i+1);
			for(j=0;j<4;j++,p++)
			{
				printf("%.2lf ",*p);
			}
			
		}
	}
	return 0;
}
